home *** CD-ROM | disk | FTP | other *** search
/ Machine Hunter - Digital … Kit (Europe) (En,Fr,De) / Machine Hunter - Digital Press Kit (Europe) (En,Fr,De).bin / mac / EIDOSSS.CST / 00046_Script_46 < prev    next >
Text File  |  1997-04-30  |  5KB  |  223 lines

  1. on generic
  2.   
  3.   global spritex,spritey,gsprite,svalue,rsprite,voodoochild,standardrollovers
  4.   
  5.     
  6.   if rollover (rsprite) then
  7.     set the visible of sprite rsprite to true
  8.     set svalue=20+the rollover
  9.     updatestage
  10.   else
  11.     set the visible of sprite rsprite to false
  12.     updatestage
  13.   end if
  14.   
  15.   if rollover (rsprite+1) then
  16.     set the visible of sprite rsprite+1 to true
  17.     set svalue=20+the rollover
  18.     updatestage
  19.   else
  20.     set the visible of sprite rsprite+1 to false
  21.     updatestage
  22.   end if
  23.   
  24.   if rollover (rsprite+2) then
  25.     set the visible of sprite rsprite+2 to true
  26.     set svalue=20+the rollover
  27.     updatestage
  28.   else
  29.     set the visible of sprite rsprite+2 to false
  30.     updatestage
  31.   end if
  32.   
  33.   if rollover (rsprite+3) then
  34.     set the visible of sprite rsprite+3 to true
  35.     set svalue=20+the rollover
  36.     updatestage
  37.   else
  38.     set the visible of sprite rsprite+3 to false
  39.     updatestage
  40.   end if
  41.   
  42.   if rollover (rsprite+4) then
  43.     set the visible of sprite rsprite+4 to true
  44.     set svalue=20+the rollover
  45.     updatestage
  46.   else
  47.     set the visible of sprite rsprite+4 to false
  48.     updatestage
  49.   end if
  50.   
  51.   if rollover (rsprite+5) then
  52.     set the visible of sprite rsprite+5 to true
  53.     set svalue=20+the rollover
  54.     updatestage
  55.   else
  56.     set the visible of sprite rsprite+5 to false
  57.     updatestage
  58.   end if
  59.   
  60.   if rollover (rsprite+6) then
  61.     set the visible of sprite rsprite+6 to true
  62.     set svalue=20+the rollover
  63.     updatestage
  64.   else
  65.     set the visible of sprite rsprite+6 to false
  66.     updatestage
  67.   end if
  68.   
  69.   if rollover (rsprite+7) then
  70.     set the visible of sprite rsprite+7 to true
  71.     set svalue=20+the rollover
  72.     updatestage
  73.   else
  74.     set the visible of sprite rsprite+7 to false
  75.     updatestage
  76.   end if
  77.   
  78.   if rollover (rsprite+8) then
  79.     set the visible of sprite rsprite+8 to true
  80.     set svalue=20+the rollover
  81.     updatestage
  82.   else
  83.     set the visible of sprite rsprite+8 to false
  84.     updatestage
  85.   end if
  86.   
  87.   if rollover (rsprite+9) then
  88.     set the visible of sprite rsprite+9 to true
  89.     set svalue=20+the rollover
  90.     updatestage
  91.   else
  92.     set the visible of sprite rsprite+9 to false
  93.     updatestage
  94.   end if
  95.   
  96.   if rollover (rsprite+10) then
  97.     set the visible of sprite rsprite+10 to true
  98.     set svalue=20+the rollover
  99.     updatestage
  100.   else
  101.     set the visible of sprite rsprite+10 to false
  102.     updatestage
  103.   end if
  104.   
  105.   if rollover (rsprite+11) then
  106.     set the visible of sprite rsprite+11 to true
  107.     set svalue=20+the rollover
  108.     updatestage
  109.   else
  110.     set the visible of sprite rsprite+11 to false
  111.     updatestage
  112.   end if
  113.   
  114.   if rollover (rsprite+12) then
  115.     set the visible of sprite rsprite+12 to true
  116.     set svalue=20+the rollover
  117.     updatestage
  118.   else
  119.     set the visible of sprite rsprite+12 to false
  120.     updatestage
  121.   end if
  122.   
  123.   if rollover (rsprite+13) then
  124.     set the visible of sprite rsprite+13 to true
  125.     set svalue=20+the rollover
  126.     updatestage
  127.   else
  128.     set the visible of sprite rsprite+13 to false
  129.     updatestage
  130.   end if
  131.   
  132.   if rollover (rsprite+14) then
  133.     set the visible of sprite rsprite+14 to true
  134.     set svalue=20+the rollover
  135.     updatestage
  136.   else
  137.     set the visible of sprite rsprite+14 to false
  138.     updatestage
  139.   end if
  140.   
  141.   if rollover (rsprite+15) then
  142.     set the visible of sprite rsprite+15 to true
  143.     set svalue=20+the rollover
  144.     updatestage
  145.   else
  146.     set the visible of sprite rsprite+15 to false
  147.     updatestage
  148.   end if
  149.   
  150.   if rollover (rsprite+16) then
  151.     set the visible of sprite rsprite+16 to true
  152.     set svalue=20+the rollover
  153.     updatestage
  154.   else
  155.     set the visible of sprite rsprite+16 to false
  156.     updatestage
  157.   end if
  158.   
  159.   if rollover (rsprite+17) then
  160.     set the visible of sprite rsprite+17 to true
  161.     set svalue=20+the rollover
  162.     updatestage
  163.   else
  164.     set the visible of sprite rsprite+17 to false
  165.     updatestage
  166.   end if
  167.   
  168.   if rollover (rsprite+18) then
  169.     set the visible of sprite rsprite+18 to true
  170.     set svalue=20+the rollover
  171.     updatestage
  172.   else
  173.     set the visible of sprite rsprite+18 to false
  174.     updatestage
  175.   end if
  176.   
  177.   if rollover (rsprite+19) then
  178.     set the visible of sprite rsprite+19 to true
  179.     set svalue=20+the rollover
  180.     updatestage
  181.   else
  182.     set the visible of sprite rsprite+19 to false
  183.     updatestage
  184.   end if
  185.   
  186.   if standardrollovers=0 then
  187.     
  188.     if (the mousecast > 4) and (the mousecast < 25) then
  189.       set the locH of sprite gsprite to spritex
  190.       set the locV of sprite gsprite to spritey
  191.       set the castNum of sprite gsprite to svalue
  192.       updatestage
  193.     end if
  194.     
  195.     if (the mousecast = 4) then
  196.       set the castNum of sprite gsprite to 32000
  197.       updatestage
  198.     end if
  199.     
  200.     if (the mousecast = 0) then
  201.       set the castNum of sprite gsprite to 32000
  202.       updatestage
  203.     end if
  204.     
  205.     if (the mousecast > 32000) then
  206.       set the castNum of sprite gsprite to 32000
  207.       updatestage
  208.     end if
  209.     
  210.   end if
  211.   
  212.   
  213.   if rollover(41) then
  214.     set the visibility of sprite 41 to 1
  215.   else
  216.     set the visibility of sprite 41 to 0
  217.   end if
  218.   
  219.   
  220.   
  221. end generic
  222.  
  223.